﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Hooks
{
    public partial class MainForm : Form
    {
        Analyzer analyzer = new Analyzer();
        public MainForm()
        {
            InitializeComponent();
            analyzer.Init(this);
        }

        private void MainForm_Load(object sender, EventArgs e)
        {
            analyzer.PrepareFile();
            Hooker.CreateHook(analyzer.ProcessHook);
            this.Visible = false;
        }
    }
}
